import { createApp } from 'vue';
import './assets/css/iconfont.css';
import 'reset-css';
import App from './App.vue';
import {initRouter} from './router';
import { initPinia } from './store';
import { initeElementPlus } from './elementplus';
import { regAllDirective } from './directive';
const app = createApp(App);

// 初始化仓库
initPinia(app);
// 初始化路由
initRouter(app);
// 初始化element-plus
initeElementPlus(app);
// 自定义指令
regAllDirective(app);

app.mount('#app');